inherited FRelatorioCotacao: TFRelatorioCotacao
  Left = 227
  Top = 179
  Width = 1198
  Height = 770
  Caption = 'COMPRAS / COTA'#199#195'O DE PRE'#199'OS'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 1190
  end
  inherited Panel2: TPanel
    Width = 1190
    Caption = 'RELAT'#211'RIO COTA'#199#195'O DE PRE'#199'OS'
  end
  inherited GroupBox1: TGroupBox
    object Label3: TLabel
      Left = 10
      Top = 30
      Width = 87
      Height = 16
      Caption = 'Solicita'#231#227'o(F8)'
    end
    object Fornecedor: TLabel
      Left = 10
      Top = 79
      Width = 92
      Height = 16
      Caption = 'Fornecedor (F8)'
    end
    object Label4: TLabel
      Left = 120
      Top = 30
      Width = 27
      Height = 16
      Caption = 'Data'
    end
    object Label5: TLabel
      Left = 216
      Top = 30
      Width = 110
      Height = 16
      Caption = 'Solicitante / Motivo'
    end
    object Label6: TLabel
      Left = 112
      Top = 53
      Width = 4
      Height = 16
    end
    object Label7: TLabel
      Left = 216
      Top = 51
      Width = 4
      Height = 16
    end
    object Label8: TLabel
      Left = 216
      Top = 70
      Width = 4
      Height = 16
    end
    object edSolicitacao: TEdit
      Left = 10
      Top = 49
      Width = 90
      Height = 22
      TabOrder = 0
      OnExit = edSolicitacaoExit
      OnKeyDown = edSolicitacaoKeyDown
    end
    object dblFornecedor: TDBLookupComboBox
      Left = 10
      Top = 98
      Width = 401
      Height = 22
      KeyField = 'FORN_CODIGO'
      ListField = 'FORN_RAZAO'
      ListSource = dsFornecedor
      TabOrder = 1
      OnKeyDown = dblFornecedorKeyDown
    end
  end
  inherited GroupBox2: TGroupBox
    inherited Bevel1: TBevel
      Top = 280
    end
    inherited Label2: TLabel
      Top = 264
    end
    inherited rbRelatorio: TRadioButton
      Top = 288
    end
    inherited rbExcel: TRadioButton
      Top = 304
    end
    inherited rbPDF: TRadioButton
      Top = 320
    end
    object rgOrdem: TRadioGroup
      Left = 8
      Top = 56
      Width = 255
      Height = 52
      Caption = '  Ordena'#231#227'o  '
      Columns = 2
      ItemIndex = 1
      Items.Strings = (
        'C'#243'digo'
        'Descri'#231#227'o')
      TabOrder = 5
      OnClick = rgOrdemClick
    end
  end
  inherited RLReport: TRLReport
    Left = 36
    Top = 234
    DataSource = DSPesquisa
    inherited RLBand1: TRLBand
      Height = 99
      inherited rlSisLocal: TRLLabel
        Top = 150
        Visible = False
      end
      inherited rlname: TRLLabel
        Top = 65
        BeforePrint = rlnameBeforePrint
      end
      inherited RLDBText1: TRLDBText
        Visible = False
      end
      inherited rlSubTitulo: TRLLabel
        Top = 83
      end
      inherited RLMemo: TRLMemo
        Left = 396
        Top = 59
        Height = 25
      end
      inherited rlInfo: TRLSystemInfo
        Left = 1127
      end
      inherited rlInfo1: TRLLabel
        Left = 897
        Top = 122
      end
      inherited RLSystemInfo1: TRLSystemInfo
        Left = 1263
      end
      object rlEmpresaEndereco: TRLLabel
        Left = 2
        Top = 21
        Width = 388
        Height = 17
        AutoSize = False
        Caption = '                     '
      end
      object rlEmpresaCNPJ: TRLLabel
        Left = 397
        Top = 21
        Width = 150
        Height = 17
        AutoSize = False
        Caption = '                     '
      end
      object rlEmpresaFone: TRLLabel
        Left = 552
        Top = 21
        Width = 150
        Height = 17
        AutoSize = False
        Caption = '                     '
      end
      object rlEmpresaFax: TRLLabel
        Left = 552
        Top = 39
        Width = 150
        Height = 18
        AutoSize = False
        Caption = '                     '
      end
      object rlEmpresaBairro: TRLLabel
        Left = 2
        Top = 39
        Width = 186
        Height = 18
        AutoSize = False
        Caption = '                     '
      end
      object rlEmpresaCidadeUF: TRLLabel
        Left = 190
        Top = 39
        Width = 200
        Height = 18
        AutoSize = False
        Caption = '                     '
      end
      object rlEmpresaInsc: TRLLabel
        Left = 397
        Top = 39
        Width = 150
        Height = 18
        AutoSize = False
        Caption = '                     '
      end
    end
    object RLGroup1: TRLGroup
      Left = 38
      Top = 137
      Width = 718
      Height = 148
      DataFields = 'SOL_CODIGO'
      PageBreaking = pbBeforePrint
      object RLBand2: TRLBand
        Left = 0
        Top = 0
        Width = 718
        Height = 63
        BandType = btHeader
        Borders.Sides = sdCustom
        Borders.DrawLeft = False
        Borders.DrawTop = False
        Borders.DrawRight = False
        Borders.DrawBottom = True
        object RLDBText7: TRLDBText
          Left = 2
          Top = 4
          Width = 164
          Height = 16
          DataField = 'FORN_RAZAO'
          DataSource = dsFornecedor
          Text = 'Fornecedor: '
        end
        object RLDBText8: TRLDBText
          Left = 76
          Top = 21
          Width = 110
          Height = 16
          DataField = 'FORN_FANTASIA'
          DataSource = dsFornecedor
        end
        object RLLabel6: TRLLabel
          Left = 2
          Top = 38
          Width = 180
          Height = 16
          Caption = 'Data Entrega: ___/___/______'
        end
        object RLLabel7: TRLLabel
          Left = 239
          Top = 38
          Width = 76
          Height = 16
          Caption = 'Cond.Pagto:'
        end
        object RLLabel8: TRLLabel
          Left = 480
          Top = 38
          Width = 63
          Height = 16
          Caption = 'Desconto:'
        end
        object RLDBText9: TRLDBText
          Left = 480
          Top = 4
          Width = 120
          Height = 16
          DataField = 'FORN_FONE'
          DataSource = dsFornecedor
          Text = 'Fone: '
        end
        object RLDBText10: TRLDBText
          Left = 480
          Top = 21
          Width = 101
          Height = 16
          DataField = 'FORN_FAX'
          DataSource = dsFornecedor
          Text = 'Fax: '
        end
        object rlFrete: TRLLabel
          Left = 648
          Top = 38
          Width = 38
          Height = 16
          Caption = 'Frete:'
        end
      end
      object RLBand3: TRLBand
        Left = 0
        Top = 63
        Width = 718
        Height = 21
        BandType = btColumnHeader
        Borders.Sides = sdCustom
        Borders.DrawLeft = False
        Borders.DrawTop = False
        Borders.DrawRight = False
        Borders.DrawBottom = True
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
        object RLLabel1: TRLLabel
          Left = 2
          Top = 0
          Width = 50
          Height = 20
          Alignment = taCenter
          AutoSize = False
          Caption = 'C'#243'digo'
        end
        object RLLabel2: TRLLabel
          Left = 52
          Top = 0
          Width = 52
          Height = 14
          Caption = 'Descri'#231#227'o'
        end
        object RLLabel3: TRLLabel
          Left = 384
          Top = 0
          Width = 32
          Height = 16
          Alignment = taCenter
          AutoSize = False
          Caption = 'Unid.'
        end
        object RLLabel4: TRLLabel
          Left = 421
          Top = 0
          Width = 43
          Height = 16
          AutoSize = False
          Caption = 'Quant.'
        end
        object RLLabel5: TRLLabel
          Left = 469
          Top = 0
          Width = 33
          Height = 14
          Caption = 'Marca'
        end
        object RLLabel9: TRLLabel
          Left = 567
          Top = 0
          Width = 75
          Height = 20
          AutoSize = False
          Caption = 'Vr. Unit'#225'rio'
        end
        object RLLabel10: TRLLabel
          Left = 650
          Top = 0
          Width = 65
          Height = 14
          AutoSize = False
          Caption = 'Vr. Adicional'
        end
        object RLLabel11: TRLLabel
          Left = 285
          Top = 0
          Width = 56
          Height = 14
          Caption = 'Refer'#234'ncia'
        end
      end
      object RLBand4: TRLBand
        Left = 0
        Top = 84
        Width = 718
        Height = 21
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
        object RLDBText2: TRLDBText
          Left = 2
          Top = 0
          Width = 50
          Height = 20
          Alignment = taCenter
          AutoSize = False
          DataField = 'ITENSSOL_PRODCODIGO'
          DataSource = DSPesquisa
        end
        object RLDBText3: TRLDBText
          Left = 52
          Top = 0
          Width = 229
          Height = 20
          AutoSize = False
          DataField = 'ITENSSOL_PROD_DESC'
          DataSource = DSPesquisa
        end
        object RLDBText4: TRLDBText
          Left = 384
          Top = 0
          Width = 32
          Height = 20
          Alignment = taCenter
          AutoSize = False
          DataField = 'PROD_UNIDSAIDA'
          DataSource = DSPesquisa
        end
        object RLDBText5: TRLDBText
          Left = 421
          Top = 0
          Width = 44
          Height = 20
          Alignment = taCenter
          AutoSize = False
          DataField = 'FITENSSOL_QTD'
          DataSource = DSPesquisa
        end
        object RLDBText6: TRLDBText
          Left = 469
          Top = 0
          Width = 96
          Height = 20
          AutoSize = False
          DataField = 'PROD_MARCA'
          DataSource = DSPesquisa
        end
        object RLDBText12: TRLDBText
          Left = 567
          Top = 0
          Width = 75
          Height = 20
          Alignment = taRightJustify
          AutoSize = False
          DataSource = DSPesquisa
          BeforePrint = RLDBText12BeforePrint
        end
        object RLLabel12: TRLLabel
          Left = 650
          Top = 0
          Width = 65
          Height = 20
          AutoSize = False
          Caption = '___________'
        end
        object RLDBText11: TRLDBText
          Left = 285
          Top = 1
          Width = 95
          Height = 20
          AutoSize = False
          DataField = 'PROD_REFERENCIA'
          DataSource = DSPesquisa
        end
      end
      object RLBand5: TRLBand
        Left = 0
        Top = 105
        Width = 718
        Height = 19
        BandType = btColumnFooter
      end
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT'
      '  SOLICITACAO.SOL_CODIGO,'
      '  SOLICITACAO.SOL_DATA,'
      '  SOLICITACAO.SOL_SOLICITANTE,'
      '  SOLICITACAO.SOL_SOLICITANTE_DESC,'
      '  SOLICITACAO.SOL_CENTROCUSTO,'
      '  SOLICITACAO.SOL_CENTROCUSTO_DESC,'
      '  SOLICITACAO.SOL_MOTIVO,'
      '  SOLICITACAO.SOL_MOTIVO_DESC,'
      '  SOLICITACAO.SOL_TIPO,'
      '  SOLICITACAO.SOL_ORIGEM,'
      '  SOLICITACAO.SOL_SITUACAO,'
      '  SOLICITACAO.SOL_VALIDACAO,'
      '  ITENSSOLICITACAO.ITENSSOL_CODIGO,'
      '  ITENSSOLICITACAO.ITENSSOL_SOL_CODIGO,'
      '  ITENSSOLICITACAO.ITENSSOL_PRODCODIGO,'
      '  ITENSSOLICITACAO.FITENSSOL_QTD,'
      '  ITENSSOLICITACAO.ITENSSOL_PEDCODIGO,'
      '  ITENSSOLICITACAO.ITENSSOL_QTDPEDIDO,'
      '  ITENSSOLICITACAO.ITENSSOL_OBS,'
      '  ITENSSOLICITACAO.ITENSSOL_PROD_DESC,'
      '  PRODUTO.PROD_REFERENCIA,'
      '  PRODUTO.PROD_UNIDSAIDA,'
      '  PRODUTO.PROD_MARCA'
      'FROM'
      '  SOLICITACAO'
      
        '  INNER JOIN ITENSSOLICITACAO ON (SOLICITACAO.SOL_CODIGO = ITENS' +
        'SOLICITACAO.ITENSSOL_SOL_CODIGO)'
      
        '  INNER JOIN PRODUTO ON (ITENSSOLICITACAO.ITENSSOL_PRODCODIGO = ' +
        'PRODUTO.PROD_CODIGO)')
    object QPesquisaSOL_CODIGO: TIntegerField
      FieldName = 'SOL_CODIGO'
      Origin = 'BASE.SOLICITACAO.SOL_CODIGO'
    end
    object QPesquisaSOL_DATA: TDateTimeField
      FieldName = 'SOL_DATA'
      Origin = 'BASE.SOLICITACAO.SOL_DATA'
    end
    object QPesquisaSOL_SOLICITANTE: TIntegerField
      FieldName = 'SOL_SOLICITANTE'
      Origin = 'BASE.SOLICITACAO.SOL_SOLICITANTE'
    end
    object QPesquisaSOL_SOLICITANTE_DESC: TStringField
      FieldName = 'SOL_SOLICITANTE_DESC'
      Origin = 'BASE.SOLICITACAO.SOL_SOLICITANTE_DESC'
      Size = 40
    end
    object QPesquisaSOL_CENTROCUSTO: TIntegerField
      FieldName = 'SOL_CENTROCUSTO'
      Origin = 'BASE.SOLICITACAO.SOL_CENTROCUSTO'
    end
    object QPesquisaSOL_CENTROCUSTO_DESC: TStringField
      FieldName = 'SOL_CENTROCUSTO_DESC'
      Origin = 'BASE.SOLICITACAO.SOL_CENTROCUSTO_DESC'
      Size = 60
    end
    object QPesquisaSOL_MOTIVO: TIntegerField
      FieldName = 'SOL_MOTIVO'
      Origin = 'BASE.SOLICITACAO.SOL_MOTIVO'
    end
    object QPesquisaSOL_MOTIVO_DESC: TStringField
      FieldName = 'SOL_MOTIVO_DESC'
      Origin = 'BASE.SOLICITACAO.SOL_MOTIVO_DESC'
      Size = 40
    end
    object QPesquisaSOL_TIPO: TStringField
      FieldName = 'SOL_TIPO'
      Origin = 'BASE.SOLICITACAO.SOL_TIPO'
      FixedChar = True
      Size = 1
    end
    object QPesquisaSOL_ORIGEM: TStringField
      FieldName = 'SOL_ORIGEM'
      Origin = 'BASE.SOLICITACAO.SOL_ORIGEM'
      FixedChar = True
      Size = 1
    end
    object QPesquisaSOL_SITUACAO: TStringField
      FieldName = 'SOL_SITUACAO'
      Origin = 'BASE.SOLICITACAO.SOL_SITUACAO'
      FixedChar = True
      Size = 1
    end
    object QPesquisaSOL_VALIDACAO: TStringField
      FieldName = 'SOL_VALIDACAO'
      Origin = 'BASE.SOLICITACAO.SOL_VALIDACAO'
      FixedChar = True
      Size = 1
    end
    object QPesquisaITENSSOL_CODIGO: TIntegerField
      FieldName = 'ITENSSOL_CODIGO'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_CODIGO'
    end
    object QPesquisaITENSSOL_SOL_CODIGO: TIntegerField
      FieldName = 'ITENSSOL_SOL_CODIGO'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_SOL_CODIGO'
    end
    object QPesquisaITENSSOL_PRODCODIGO: TIntegerField
      FieldName = 'ITENSSOL_PRODCODIGO'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_PRODCODIGO'
    end
    object QPesquisaFITENSSOL_QTD: TIntegerField
      FieldName = 'FITENSSOL_QTD'
      Origin = 'BASE.ITENSSOLICITACAO.FITENSSOL_QTD'
    end
    object QPesquisaITENSSOL_PEDCODIGO: TIntegerField
      FieldName = 'ITENSSOL_PEDCODIGO'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_PEDCODIGO'
    end
    object QPesquisaITENSSOL_QTDPEDIDO: TIntegerField
      FieldName = 'ITENSSOL_QTDPEDIDO'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_QTDPEDIDO'
    end
    object QPesquisaITENSSOL_OBS: TStringField
      FieldName = 'ITENSSOL_OBS'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_OBS'
      Size = 100
    end
    object QPesquisaITENSSOL_PROD_DESC: TStringField
      FieldName = 'ITENSSOL_PROD_DESC'
      Origin = 'BASE.ITENSSOLICITACAO.ITENSSOL_PROD_DESC'
      Size = 60
    end
    object QPesquisaPROD_UNIDSAIDA: TStringField
      FieldName = 'PROD_UNIDSAIDA'
      Size = 5
    end
    object QPesquisaPROD_MARCA: TStringField
      FieldName = 'PROD_MARCA'
    end
    object QPesquisaPROD_REFERENCIA: TStringField
      FieldName = 'PROD_REFERENCIA'
    end
  end
  object dsFornecedor: TDataSource
    DataSet = DMGestao.QFornecedor
    Left = 240
    Top = 176
  end
  object dsEmpresa: TDataSource
    DataSet = DMGestao.QEmpresa
    Left = 248
    Top = 464
  end
end
